﻿Public Class BlogReaderFactory
  Public Shared Function GetBlogReader(ByVal blog As BlogType) As BlogReader
    Select Case blog
      Case BlogType.BlogEngine
        Return New BlogEngineReader()
      Case BlogType.GraffitiCMS
        Return New GraffitiReader()
      Case Else
        Return New BlogReader()
    End Select
  End Function
End Class
